package com.example.logisticsingle.Service;


import com.example.logisticsingle.Mapper.LoginLogMapper;
import com.example.logisticsingle.model.LoginLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 登录服务实现
 * @author Roskin
 *
 */
@Service
public class LoginServiceImpl implements LoginService {
	
	@Autowired
	private LoginLogMapper loginLogMapper;

	@Override
	public boolean insertLoginLog(LoginLog loginLog) {
		int count = loginLogMapper.insertSelective(loginLog);
		return count>0;
	}

}
